package com.base.context.processor.config;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Target({ FIELD })
@Retention(RUNTIME)
public @interface ConfigParam {
    
    String name() default "";

    String help() default "";

    int min() default -1;

    int max() default -1;

    ConfigDataType type() default ConfigDataType.TEXT;

    boolean required() default false;

    String label() default "";

    int minLength() default -1;

    int maxLength() default -1;
    
}
